package ${pPackage}.vo;

import ${pPackage}.pojo.User;
import org.crazycake.shiro.AuthCachePrincipal;

import java.io.Serializable;
import java.util.List;

/**
 * 用户登录信息
 */
public class UserInfo extends User implements Serializable, AuthCachePrincipal {

    /**
     * api权限
     */
    private List<String> apis;

    public List<String> getApis() {
        return apis;
    }

    public void setApis(List<String> apis) {
        this.apis = apis;
    }

    @Override
    public String getAuthCacheKey() {
        return null;
    }
}
